import { Context, Next } from "koa";
import Router from "koa-router";
import UploadCtl from "../controller/uploadCtl";

const uploadRouter = new Router({ prefix: "/upload" });

// 上传图片接口
uploadRouter.post("/img", UploadCtl.uploadImg);

export default uploadRouter;
